/* eslint-disable jsdoc/no-restricted-syntax */
/**
 * @state __wip__
 */
class UniqueTupleArray extends Array {
  /**
   * @override
   * @template {any} T
   * @param {Iterable<T> | ArrayLike<T>} arrayLike
   * @returns {T[]}
   */
  static from(arrayLike) {
    // eslint-disable-next-line unicorn/prefer-spread
    return Array.from(arrayLike);
  }
}

const ua = UniqueTupleArray.from({ length: 10 }).map((_, index) => index);

export default ua;
